package com.ruoyi.oos.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 限值明细对象 oos_tag_limitdtl_self
 * 
 * @author wzy1
 * @date 2020-07-01
 */
public class TagLimitdtlSelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 测点配置id */
    @Excel(name = "测点配置id")
    private Long configid;

    /** 类型1：上限2：下限 */
    @Excel(name = "类型1：上限2：下限")
    private Long type;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String starttime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endtime;

    /** 超限程度 */
    @Excel(name = "超限程度")
    private String level;

    /** 关联PI值 */
    @Excel(name = "关联PI值")
    private String pitag;

    /** 限值 */
    @Excel(name = "限值")
    private Float limitval;

    /** 结束限值 */
    @Excel(name = "结束限值")
    private Float endlimitval;

        public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
        public void setConfigid(Long configid)
    {
        this.configid = configid;
    }

    public Long getConfigid() 
    {
        return configid;
    }
        public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
        public void setStarttime(String starttime)
    {
        this.starttime = starttime;
    }

    public String getStarttime() 
    {
        return starttime;
    }
        public void setEndtime(String endtime)
    {
        this.endtime = endtime;
    }

    public String getEndtime() 
    {
        return endtime;
    }
        public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
        public void setPitag(String pitag)
    {
        this.pitag = pitag;
    }

    public String getPitag() 
    {
        return pitag;
    }
        public void setLimitval(Float limitval)
    {
        this.limitval = limitval;
    }

    public Float getLimitval() 
    {
        return limitval;
    }
        public void setEndlimitval(Float endlimitval)
    {
        this.endlimitval = endlimitval;
    }

    public Float getEndlimitval() 
    {
        return endlimitval;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        
        .append("id", getId())
        
        .append("configid", getConfigid())
        
        .append("type", getType())
        
        .append("starttime", getStarttime())
        
        .append("endtime", getEndtime())
        
        .append("level", getLevel())
        
        .append("pitag", getPitag())
        
        .append("limitval", getLimitval())
        
        .append("endlimitval", getEndlimitval())
            .toString();
    }
}
